wayland: Use GdkFractionalScale for surface scale
authorBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 11:40:14 +0000 (13:40 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 16:23:38 +0000 (18:23 +0200)
commit8dd5d649b8848addba260db60a77236106b1a0ba
treec24cf3fda235f9c48093b41fd9cd822f32d4b7fc
parent40ac6f22a3d2012488e54f72335ea9e9d7cf34a8
wayland: Use GdkFractionalScale for surface scale

We still always round it to integers when we read it, but we store it as a fraction.

So we could now use it for fractional scaling.
gdk/wayland/gdkdragsurface-wayland.c
gdk/wayland/gdksurface-wayland-private.h
gdk/wayland/gdksurface-wayland.c
gdk/wayland/gdktoplevel-wayland.c